home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / hypercar / fun / eats.hqx / Restaurant Guide / background_4037.txt < prev    next >
Encoding:
Text File  |  1992-11-05  |  12.5 KB  |  625 lines

  1. -- background: 4037 from stack: in
  2. -- bmap block id: 2562
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: Restaurant Background
  6. ----- HyperTalk script -----
  7. on openBackground
  8.   push recent card
  9. end openBackground
  10.  
  11. on newCard
  12.   tabkey
  13.   tabkey
  14. end newCard
  15.  
  16.  
  17.  
  18. -- part 17 (field)
  19. -- low flags: 00
  20. -- high flags: 2000
  21. -- rect: left=26 top=157 right=292 bottom=220
  22. -- title width / last selected line: 0
  23. -- icon id / first selected line: 0 / 0
  24. -- text alignment: 0
  25. -- font id: 2
  26. -- text size: 12
  27. -- style flags: 0
  28. -- line height: 16
  29. -- part name: Description
  30.  
  31.  
  32. -- part 18 (field)
  33. -- low flags: 00
  34. -- high flags: 0000
  35. -- rect: left=237 top=171 right=220 bottom=460
  36. -- title width / last selected line: 0
  37. -- icon id / first selected line: 0 / 0
  38. -- text alignment: 0
  39. -- font id: 2
  40. -- text size: 18
  41. -- style flags: 0
  42. -- line height: 24
  43. -- part name: Restaurant Name
  44.  
  45.  
  46. -- part 21 (field)
  47. -- low flags: 00
  48. -- high flags: 0000
  49. -- rect: left=237 top=221 right=279 bottom=485
  50. -- title width / last selected line: 0
  51. -- icon id / first selected line: 0 / 0
  52. -- text alignment: 0
  53. -- font id: 2
  54. -- text size: 14
  55. -- style flags: 0
  56. -- line height: 18
  57. -- part name: 
  58.  
  59.  
  60. -- part 22 (field)
  61. -- low flags: 00
  62. -- high flags: 0000
  63. -- rect: left=237 top=280 right=300 bottom=485
  64. -- title width / last selected line: 0
  65. -- icon id / first selected line: 0 / 0
  66. -- text alignment: 0
  67. -- font id: 2
  68. -- text size: 14
  69. -- style flags: 0
  70. -- line height: 18
  71. -- part name: 
  72.  
  73.  
  74. -- part 23 (field)
  75. -- low flags: 00
  76. -- high flags: 0000
  77. -- rect: left=263 top=303 right=321 bottom=422
  78. -- title width / last selected line: 0
  79. -- icon id / first selected line: 0 / 0
  80. -- text alignment: 1
  81. -- font id: 2
  82. -- text size: 12
  83. -- style flags: 256
  84. -- line height: 16
  85. -- part name: Category
  86.  
  87.  
  88. -- part 24 (button)
  89. -- low flags: 00
  90. -- high flags: 0000
  91. -- rect: left=419 top=299 right=324 bottom=443
  92. -- title width / last selected line: 0
  93. -- icon id / first selected line: 15420 / 15420
  94. -- text alignment: 1
  95. -- font id: 0
  96. -- text size: 12
  97. -- style flags: 0
  98. -- line height: 16
  99. -- part name: Prev
  100. ----- HyperTalk script -----
  101. on mouseUp
  102.   visual effect wipe right
  103.   go to previous card of this background
  104. end mouseUp
  105.  
  106.  
  107.  
  108. -- part 25 (button)
  109. -- low flags: 00
  110. -- high flags: 0000
  111. -- rect: left=443 top=299 right=324 bottom=465
  112. -- title width / last selected line: 0
  113. -- icon id / first selected line: 16560 / 16560
  114. -- text alignment: 1
  115. -- font id: 0
  116. -- text size: 12
  117. -- style flags: 0
  118. -- line height: 16
  119. -- part name: Next
  120. ----- HyperTalk script -----
  121. on mouseUp
  122.   visual effect wipe left
  123.   go to next card of this background
  124. end mouseUp
  125.  
  126.  
  127.  
  128. -- part 27 (button)
  129. -- low flags: 00
  130. -- high flags: 0000
  131. -- rect: left=467 top=299 right=326 bottom=490
  132. -- title width / last selected line: 0
  133. -- icon id / first selected line: 6720 / 6720
  134. -- text alignment: 1
  135. -- font id: 0
  136. -- text size: 12
  137. -- style flags: 0
  138. -- line height: 16
  139. -- part name: Return
  140. ----- HyperTalk script -----
  141. on mouseUp
  142.   visual effect iris close
  143.   pop card
  144. end mouseUp
  145.  
  146.  
  147.  
  148. -- part 28 (button)
  149. -- low flags: 00
  150. -- high flags: 0000
  151. -- rect: left=231 top=299 right=328 bottom=263
  152. -- title width / last selected line: 0
  153. -- icon id / first selected line: 11045 / 11045
  154. -- text alignment: 1
  155. -- font id: 0
  156. -- text size: 12
  157. -- style flags: 0
  158. -- line height: 16
  159. -- part name: Home
  160. ----- HyperTalk script -----
  161. on mouseUp
  162.   visual effect zoom close
  163.   go Home
  164. end mouseUp
  165.  
  166.  
  167.  
  168. -- part 30 (button)
  169. -- low flags: 00
  170. -- high flags: 0000
  171. -- rect: left=68 top=294 right=328 bottom=107
  172. -- title width / last selected line: 0
  173. -- icon id / first selected line: 20186 / 20186
  174. -- text alignment: 1
  175. -- font id: 0
  176. -- text size: 12
  177. -- style flags: 0
  178. -- line height: 16
  179. -- part name: 
  180. ----- HyperTalk script -----
  181. on mouseUp
  182.   CleanupScreen
  183.   answer "Sort all cards of this stack according to:" with "Restaurant" or "Category" or "Cancel"
  184.   if it is "Restaurant" then
  185.     sort by field "Restaurant Name"
  186.   else
  187.     if it is "Category" then
  188.       sort by field "Category"
  189.     end if
  190.   end if
  191. end mouseUp
  192.  
  193.  
  194.  
  195. -- part 31 (button)
  196. -- low flags: 00
  197. -- high flags: 0000
  198. -- rect: left=30 top=299 right=333 bottom=69
  199. -- title width / last selected line: 0
  200. -- icon id / first selected line: 32670 / 32670
  201. -- text alignment: 1
  202. -- font id: 0
  203. -- text size: 12
  204. -- style flags: 0
  205. -- line height: 16
  206. -- part name: Show Cards
  207. ----- HyperTalk script -----
  208. on mouseUp
  209.   -- This script shows all cards except the help card.
  210.   CleanupScreen
  211.   repeat number of cards - 1
  212.     go to next card of this background
  213.     if the mouseClick then
  214.       exit mouseUp
  215.     end if
  216.   end repeat
  217. end mouseUp
  218.  
  219.  
  220.  
  221. -- part 32 (button)
  222. -- low flags: 00
  223. -- high flags: 0000
  224. -- rect: left=457 top=168 right=197 bottom=490
  225. -- title width / last selected line: 0
  226. -- icon id / first selected line: 1017 / 1017
  227. -- text alignment: 1
  228. -- font id: 0
  229. -- text size: 12
  230. -- style flags: 0
  231. -- line height: 16
  232. -- part name: 
  233. ----- HyperTalk script -----
  234. on mouseUp
  235.   CleanupScreen
  236.   get the selection
  237.   if it is empty then ask "Dial what number?"
  238.   if it is not empty then
  239.     push this card
  240.     visual effect zoom open
  241.     go to stack "Phone"
  242.     dial it
  243.     pop card
  244.   end if
  245. end mouseUp
  246.  
  247.  
  248.  
  249. -- part 50 (button)
  250. -- low flags: 00
  251. -- high flags: 0000
  252. -- rect: left=106 top=304 right=331 bottom=138
  253. -- title width / last selected line: 0
  254. -- icon id / first selected line: 25002 / 25002
  255. -- text alignment: 1
  256. -- font id: 0
  257. -- text size: 12
  258. -- style flags: 0
  259. -- line height: 16
  260. -- part name: Help
  261. ----- HyperTalk script -----
  262. on mouseUp
  263.   visual effect venetian blinds
  264.   go to card "Help Card"
  265. end mouseUp
  266.  
  267.  
  268. -- part 51 (field)
  269. -- low flags: 81
  270. -- high flags: 2004
  271. -- rect: left=244 top=202 right=292 bottom=479
  272. -- title width / last selected line: 0
  273. -- icon id / first selected line: 0 / 0
  274. -- text alignment: 1
  275. -- font id: 2
  276. -- text size: 18
  277. -- style flags: 0
  278. -- line height: 24
  279. -- part name: No restaurants
  280. ----- HyperTalk script -----
  281. on mouseUp
  282.   hide bkgnd field "No restaurants"
  283. end mouseUp
  284.  
  285.  
  286.  
  287. -- part 52 (field)
  288. -- low flags: 81
  289. -- high flags: 2004
  290. -- rect: left=76 top=21 right=95 bottom=243
  291. -- title width / last selected line: 0
  292. -- icon id / first selected line: 0 / 0
  293. -- text alignment: 0
  294. -- font id: 2
  295. -- text size: 12
  296. -- style flags: 0
  297. -- line height: 16
  298. -- part name: About this stack...
  299. ----- HyperTalk script -----
  300. on mouseUp
  301.   get the short name of me
  302.   hide bkgnd field it
  303. end mouseUp
  304.  
  305.  
  306.  
  307. -- part 53 (button)
  308. -- low flags: 00
  309. -- high flags: 0000
  310. -- rect: left=58 top=84 right=121 bottom=104
  311. -- title width / last selected line: 0
  312. -- icon id / first selected line: 0 / 0
  313. -- text alignment: 1
  314. -- font id: 0
  315. -- text size: 12
  316. -- style flags: 0
  317. -- line height: 16
  318. -- part name: Tell Me About...
  319. ----- HyperTalk script -----
  320. on mouseUp
  321.   CleanupScreen
  322.   put "This stack was created by Arie Covrigaru." && "November 8th, 1987." && "Ann Arbor Michigan." into bkgnd field "About this stack..."
  323.   show bkgnd field "About this stack..."
  324. end mouseUp
  325.  
  326.  
  327. -- part 64 (button)
  328. -- low flags: 00
  329. -- high flags: 8000
  330. -- rect: left=243 top=55 right=77 bottom=313
  331. -- title width / last selected line: 0
  332. -- icon id / first selected line: 0 / 0
  333. -- text alignment: 1
  334. -- font id: 0
  335. -- text size: 12
  336. -- style flags: 0
  337. -- line height: 16
  338. -- part name: French
  339. ----- HyperTalk script -----
  340. on mouseUp
  341.   get the short name of me
  342.   SearchForCategory it
  343. end mouseUp
  344.  
  345.  
  346.  
  347. -- part 65 (button)
  348. -- low flags: 00
  349. -- high flags: 8000
  350. -- rect: left=243 top=76 right=98 bottom=313
  351. -- title width / last selected line: 0
  352. -- icon id / first selected line: 0 / 0
  353. -- text alignment: 1
  354. -- font id: 0
  355. -- text size: 12
  356. -- style flags: 0
  357. -- line height: 16
  358. -- part name: Italian
  359. ----- HyperTalk script -----
  360. on mouseUp
  361.   get the short name of me
  362.   SearchForCategory it
  363. end mouseUp
  364.  
  365.  
  366.  
  367. -- part 66 (button)
  368. -- low flags: 00
  369. -- high flags: 8000
  370. -- rect: left=243 top=97 right=119 bottom=313
  371. -- title width / last selected line: 0
  372. -- icon id / first selected line: 0 / 0
  373. -- text alignment: 1
  374. -- font id: 0
  375. -- text size: 12
  376. -- style flags: 0
  377. -- line height: 16
  378. -- part name: Korean
  379. ----- HyperTalk script -----
  380. on mouseUp
  381.   get the short name of me
  382.   SearchForCategory it
  383. end mouseUp
  384.  
  385.  
  386.  
  387. -- part 67 (button)
  388. -- low flags: 00
  389. -- high flags: 8000
  390. -- rect: left=243 top=118 right=140 bottom=313
  391. -- title width / last selected line: 0
  392. -- icon id / first selected line: 0 / 0
  393. -- text alignment: 1
  394. -- font id: 0
  395. -- text size: 12
  396. -- style flags: 0
  397. -- line height: 16
  398. -- part name: Deli
  399. ----- HyperTalk script -----
  400. on mouseUp
  401.   get the short name of me
  402.   SearchForCategory it
  403. end mouseUp
  404.  
  405.  
  406.  
  407. -- part 68 (button)
  408. -- low flags: 00
  409. -- high flags: 8000
  410. -- rect: left=243 top=139 right=161 bottom=313
  411. -- title width / last selected line: 0
  412. -- icon id / first selected line: 0 / 0
  413. -- text alignment: 1
  414. -- font id: 0
  415. -- text size: 12
  416. -- style flags: 0
  417. -- line height: 16
  418. -- part name: Seafood
  419. ----- HyperTalk script -----
  420. on mouseUp
  421.   get the short name of me
  422.   SearchForCategory it
  423. end mouseUp
  424.  
  425.  
  426.  
  427. -- part 69 (button)
  428. -- low flags: 00
  429. -- high flags: 8000
  430. -- rect: left=324 top=48 right=70 bottom=397
  431. -- title width / last selected line: 0
  432. -- icon id / first selected line: 0 / 0
  433. -- text alignment: 1
  434. -- font id: 0
  435. -- text size: 12
  436. -- style flags: 0
  437. -- line height: 16
  438. -- part name: Chinese
  439. ----- HyperTalk script -----
  440. on mouseUp
  441.   get the short name of me
  442.   SearchForCategory it
  443. end mouseUp
  444.  
  445.  
  446.  
  447. -- part 70 (button)
  448. -- low flags: 00
  449. -- high flags: 8000
  450. -- rect: left=324 top=69 right=91 bottom=397
  451. -- title width / last selected line: 0
  452. -- icon id / first selected line: 0 / 0
  453. -- text alignment: 1
  454. -- font id: 0
  455. -- text size: 12
  456. -- style flags: 0
  457. -- line height: 16
  458. -- part name: BarBQue
  459. ----- HyperTalk script -----
  460. on mouseUp
  461.   get the short name of me
  462.   SearchForCategory it
  463. end mouseUp
  464.  
  465.  
  466.  
  467. -- part 71 (button)
  468. -- low flags: 00
  469. -- high flags: 8000
  470. -- rect: left=324 top=90 right=112 bottom=397
  471. -- title width / last selected line: 0
  472. -- icon id / first selected line: 0 / 0
  473. -- text alignment: 1
  474. -- font id: 0
  475. -- text size: 12
  476. -- style flags: 0
  477. -- line height: 16
  478. -- part name: Vegetar.
  479. ----- HyperTalk script -----
  480. on mouseUp
  481.   get the short name of me
  482.   SearchForCategory it
  483. end mouseUp
  484.  
  485.  
  486.  
  487. -- part 72 (button)
  488. -- low flags: 00
  489. -- high flags: 8000
  490. -- rect: left=324 top=111 right=133 bottom=397
  491. -- title width / last selected line: 0
  492. -- icon id / first selected line: 0 / 0
  493. -- text alignment: 1
  494. -- font id: 0
  495. -- text size: 12
  496. -- style flags: 0
  497. -- line height: 16
  498. -- part name: German
  499. ----- HyperTalk script -----
  500. on mouseUp
  501.   get the short name of me
  502.   SearchForCategory it
  503. end mouseUp
  504.  
  505.  
  506.  
  507. -- part 73 (button)
  508. -- low flags: 00
  509. -- high flags: 8000
  510. -- rect: left=324 top=132 right=154 bottom=397
  511. -- title width / last selected line: 0
  512. -- icon id / first selected line: 0 / 0
  513. -- text alignment: 1
  514. -- font id: 0
  515. -- text size: 12
  516. -- style flags: 0
  517. -- line height: 16
  518. -- part name: Thai
  519. ----- HyperTalk script -----
  520. on mouseUp
  521.   get the short name of me
  522.   SearchForCategory it
  523. end mouseUp
  524.  
  525.  
  526.  
  527. -- part 74 (button)
  528. -- low flags: 00
  529. -- high flags: 8000
  530. -- rect: left=409 top=41 right=63 bottom=481
  531. -- title width / last selected line: 0
  532. -- icon id / first selected line: 0 / 0
  533. -- text alignment: 1
  534. -- font id: 0
  535. -- text size: 12
  536. -- style flags: 0
  537. -- line height: 16
  538. -- part name: Mexican
  539. ----- HyperTalk script -----
  540. on mouseUp
  541.   get the short name of me
  542.   SearchForCategory it
  543. end mouseUp
  544.  
  545.  
  546.  
  547. -- part 75 (button)
  548. -- low flags: 00
  549. -- high flags: 8000
  550. -- rect: left=409 top=62 right=84 bottom=481
  551. -- title width / last selected line: 0
  552. -- icon id / first selected line: 0 / 0
  553. -- text alignment: 1
  554. -- font id: 0
  555. -- text size: 12
  556. -- style flags: 0
  557. -- line height: 16
  558. -- part name: American
  559. ----- HyperTalk script -----
  560. on mouseUp
  561.   get the short name of me
  562.   SearchForCategory it
  563. end mouseUp
  564.  
  565.  
  566.  
  567. -- part 76 (button)
  568. -- low flags: 00
  569. -- high flags: 8000
  570. -- rect: left=409 top=83 right=105 bottom=481
  571. -- title width / last selected line: 0
  572. -- icon id / first selected line: 0 / 0
  573. -- text alignment: 1
  574. -- font id: 0
  575. -- text size: 12
  576. -- style flags: 0
  577. -- line height: 16
  578. -- part name: Japanese
  579. ----- HyperTalk script -----
  580. on mouseUp
  581.   get the short name of me
  582.   SearchForCategory it
  583. end mouseUp
  584.  
  585.  
  586.  
  587. -- part 77 (button)
  588. -- low flags: 00
  589. -- high flags: 8000
  590. -- rect: left=409 top=104 right=126 bottom=481
  591. -- title width / last selected line: 0
  592. -- icon id / first selected line: 0 / 0
  593. -- text alignment: 1
  594. -- font id: 0
  595. -- text size: 12
  596. -- style flags: 0
  597. -- line height: 16
  598. -- part name: Indian
  599. ----- HyperTalk script -----
  600. on mouseUp
  601.   get the short name of me
  602.   SearchForCategory it
  603. end mouseUp
  604.  
  605.  
  606.  
  607. -- part 78 (button)
  608. -- low flags: 00
  609. -- high flags: 8000
  610. -- rect: left=409 top=125 right=147 bottom=481
  611. -- title width / last selected line: 0
  612. -- icon id / first selected line: 0 / 0
  613. -- text alignment: 1
  614. -- font id: 0
  615. -- text size: 12
  616. -- style flags: 0
  617. -- line height: 16
  618. -- part name: MidEast
  619. ----- HyperTalk script -----
  620. on mouseUp
  621.   get the short name of me
  622.   SearchForCategory it
  623. end mouseUp
  624.  
  625.